import request from '@/utils/request'
import qs from 'qs';

// 查询消息控制列表
export function listControl(params) {
  return request({
    url: '/message/m/messgaecontrol/queryList',
    method: 'get',
    params
  })
}

export function updateControl(data) {
  return request({
    url: '/message/m/messgaecontrol/update',
    method: 'post',
    headers: {
      "Content-Type": 'application/x-www-form-urlencoded;charset=UTF-8'
    },
    data: qs.stringify(data)
  })
}

